package com.qdc.datacenters.domain.query.sensitive;

import com.baomidou.mybatisplus.annotation.TableField;
import com.qdc.datacenters.domain.vo.sensitive.SensitiveVo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @author danmo
 * @date 2024-03-07 16:58
 **/
@Schema
@Data
public class SensitiveAddQuery {

    /**
     * 主键id
     */

    @Schema(description = "主键id",hidden = true)
    private Long id;




    @NotNull(message = "名称不能为空")
    @Schema(description = "名称")
    private String name;


    /**
     * 敏感词汇 用英文;隔离
     */
    @NotNull(message = "敏感词汇不能为空")
    @Schema(description = "敏感词汇 用英文,隔离")
    private String words;


    /**
     * 生效范围  0-全部  1-员工  2-客户
     */
    @NotNull(message = "生效范围不能为空")
    @Schema(description = "生效范围  0-全部  1-员工  2-客户")
    private Integer rangeType;

    /**
     * 开启提醒 0-不开启 1-开启
     */
    @Schema(description = "开启提醒 0-不开启 1-开启")
    private Integer remind;


    /**
     * 提醒人员
     */
    @Schema(description = "提醒人员")
    private List<SensitiveVo.EffectRange> remindUserList;

    /**
     * 范围
     */
    @Schema(description = "范围")
    private List<String> rangeList;
}
